Serialize data packet into query string for GET request