def empty_type_dict(input_object):
    """Generates an otherwise empty Python dict with the correct
    "type" key from Java.

    :param input_class: arbitrary instance of a Python class
    :return:
    """
    d = dict()
    d['type'] = input_object.__class__.__name__
    return d
