add ace for json editor
use js from http://jsonsh.com/ for json input and validate