almost exportable to json