refactoring of json to map converter
make instance of JonToMapConverter responsible for conversion