Fixed mangled UTF-8 encoding in field mapping conversion to json.