Implement recursive parsing of map objects (inventories).