rendering the json is now fixed