removed  validate_json_params