update returned JSON format