How to pretty print json of a string field

Hi @weltenwort
Thank you for your suggestion. I tried that suggested code, now Kibana starts correctly but it doesn't show ui pages properly. I checked via console and found these 2 errors

TypeError: Expected private module "[object Object]" to be a function
    at identify (commons.bundle.js?v=15443:82)
    at Private (commons.bundle.js?v=15443:82)
    at Object.stringifyJson (kibana.bundle.js?v=15443:262)
    at Object.invoke (commons.bundle.js?v=15443:36)
    at instantiate (commons.bundle.js?v=15443:82)
    at get (commons.bundle.js?v=15443:82)
    at Private (commons.bundle.js?v=15443:82)
    at Array.map (<anonymous>)
    at Object.registry (commons.bundle.js?v=15443:84)
    at Object.invoke (commons.bundle.js?v=15443:36)
commons.bundle.js?v=15443:38 Error: Circular reference to "IndexPatternsProvider" found while resolving private deps: IndexPatternsProvider -> IndexPatternProvider -> registry -> stringifyJson
    at instantiate (commons.bundle.js?v=15443:82)
    at get (commons.bundle.js?v=15443:82)
    at Private (commons.bundle.js?v=15443:82)
    at new <anonymous> (kibana.bundle.js?v=15443:27)
    at invoke (commons.bundle.js?v=15443:36)
    at Object.instantiate (commons.bundle.js?v=15443:36)
    at Object.<anonymous> (commons.bundle.js?v=15443:35)
    at Object.invoke (commons.bundle.js?v=15443:36)
    at Object.$get (commons.bundle.js?v=15443:35)
    at Object.invoke (commons.bundle.js?v=15443:36)

Do you know what's about?
Thanks,

Andrea