This method occurs after dumping the data into the class.

        Args:
            data (dict): dictionary of all the query values

        Returns:
            data (dict): ordered dict of all the values

def build_url(self, data):
        """This method occurs after dumping the data into the class.

        Args:
            data (dict): dictionary of all the query values

        Returns:
            data (dict): ordered dict of all the values
        """
        query_part_one = []
        query_part_two = []
        keys_to_be_removed = []
        for key, value in data.items():
            if key not in ['version', 'restApi', 'resourcePath']:
                if key == 'mapArea':
                    query_part_one.append(','.join(str(val) for val in value))
                    keys_to_be_removed.append(key)
                elif key == 'includeLocationCodes':
                    query_part_one.append(value)
                    keys_to_be_removed.append(key)
                else:
                    if isinstance(value, list):
                        value = ','.join(str(val) for val in value)
                    query_part_two.append('{0}={1}'.format(key, value))
                    keys_to_be_removed.append(key)
        for k in keys_to_be_removed:
            del data[k]
        data['query'] = '{0}?{1}'.format('/'.join(query_part_one),
                                         '&'.join(query_part_two))
        return data