Serialize data hash into query params for a GET request

Not sure why it checks for GET but then falls back to doing it if any value in options.method?