ApiEnums - some changes in json-editor directive