Added OrderedDict to imagen as fallback for pre 2.7 Python versions