Updating resin to output a string instead of a file to support future use cases.