the instance param for @api_params is probably unnecessary, what about:

```ruby
  if @hash_params && value
    return @hash_params.each_with_object({}) do |(key, param), api_params|
      if value.has_key?(key)
        api_params[param.as] = param.process_value(value[key])
      end
    end
  end
```