Add the missing format change (string to JSON)

fix #1134
related to #1118