Return a HashWithIndifferentAccess when appropriate from to_params