Generating Reports In Teamcity Build Runner

So I am developing a build runner plugin on Teamcity that calls an api and usually returns 30k+ lines of code in json format. Is it efficient to store it in artifact.json as Build Artifact then reads it data and use fillModel when generating reports? or Immediately create the html or jsp than storing it in json and reads its data?