added codemirror integration and changed json view to textarea for injection of codemirror