Encode JSON strings and map[string]interface{} values as XML.