QueryString parser for Python/Django that correctly handles nested dictionaries