This function helps to organise the data by grouping said objects
under the key passed as an argument (country name or tax type in this case).
Then useStampDutyCalculator can use only the type of data
required for the current calculation under the circunstances and location selected.
Data from dbapi comes as an array of objects sorted by id.
This function helps to organise the data by grouping said objects under the key passed as an argument (country name or tax type in this case). Then useStampDutyCalculator can use only the type of data required for the current calculation under the circunstances and location selected.
or