Remove using json and change the map to be immutable.