use toJson to convert map to Json Object