Cleaning up the json