better json import/export