If Mongoid default serializers for Date and Time don't work for you, try this out!
Giovanni Bonetti
MIT