simple util to convert dot notation string map to data to json object