making sure we are receiving a JSON body