Parse and stringify URL query strings