Extract interlis enums as JSON