dump scm field, rename id field to origin