classic-ui: added custom vars to extinfo JSON output #4390

Also changed "cgi_json_version" to 1.10.0

refs: #4390