Using mongo-friendly format in spec