Firebase query parameters are quite static, and can be represented as fields in a struct. This would be preferred over the current params map, since it would remove the possibility of invalid parameters being supplied. It would still allow for the possibility of invalid combinations of parameters, though.
Thanks @inlined for the suggestion.