Convert JSON as text, external resource or file(s)