Fix bug in check_required_parameters where JSON params were missed

Request parameters can be in the form of URL, POST, FILE, or JSON, we need to make sure we are checking all request parameters before determining if required parameters are missing from the request.