'Create new CountersMap from the json data structure, encoded by to_json.
Args:
json: json representation of CountersMap .
Returns:
an instance of CountersMap with all data deserialized from json.'

@classmethod
def from_json(cls, json):

    counters_map = cls()
    counters_map.counters = json['counters']
    return counters_map
