use _format for the type and id as _id