isSimpleValue check for queryString struct serialization

Now without removing any white spaces :)