Fixed bug where error JSON was propagating back to config editor