cache json fixes

now uses utils.jsonify which does proper utf8 encoding
removed unneeded and possibly error producing json import

this should fix #9700