ActionController::ParamsWrapper in Rails is responsible for wrapping the parameters hash into a nested hash.
ActionController::ParamsWrapper