string array to map to json is working