convert groupdict into recursive dict
	modified:   lib/remod.py
	modified:   tests/remod.py