Define .bson_type on Date so that Date and DateTime objects can be serialised inside hashes and arrays