Add optional on_unknown handler to bson.dumps