fixing silly problem with _id being persisted back as string, not object