FORGE-1651: setContents(InputStream) now parses json data before writing