Fixed bug in Client#query_params that was causing format option to be ignored