Support for all pymongo options in custom_indexes declaration