DRY out map/inner_map loading