classic-ui: added json_encode to custum var json output #4390

refs: #4390