changed the json that is rendered to make it easier for the client app