modified map to json
modified struct