refactor: add version, move id,type to _meta