Used stringify to create the query string (fixed bug with &)