parse json body after uploading data