end_with supports lists, iterators and ordered dicts refs #16