Parses the query string into the internal dictionary and optionally also returns this dictionary