def _print_dict(elem_dict):
    """
    Print a dict in a readable way
    """
    for key, value in sorted(elem_dict.iteritems()):
        if isinstance(value, collections.Iterable):
            print(key, len(value))
        else:
            print(key, value)