JSON export/import work around to make K::esc_html more reliable