Allow to save dictionaries, lists, tuples, etc, as document ids