Serialize mongo id's as strings