Nested lists in maps

fixes #895