Preparing a json and push to parse database