updated example to use mongo bson objectid hash for client side object _id creation