Introduction of LegendRequest data structure to prevent more internal hashmaps