finished jsoneditor formatting and minor bugs