More robust JSON.parse/JSON.stringify transpiling.