Add functions for converting query parameters to their URL versions. Use the Query abstraction as input to the query function.