Text container object

Problem: I have a large text/json/etc file that I want exposed to a script

The only solution right now is to wrap the text file in return [===[x]===], which is tedious for me and difficult for non-programmers. I want a text container object that I can open like a script and just paste text into. I want to be able to read and edit the contents during runtime through lua.