allow json_params to be called without a body