Serialize data hash into query params for a GET request

There is a serialize function in net/form, maybe we can pull these both together into a utils file and share the same function?