core: make import/export format consistent with source tetra