Returns the type and repr of an injectable. JSON response has
    "type" and "repr" keys.

def injectable_repr(inj_name):
    """
    Returns the type and repr of an injectable. JSON response has
    "type" and "repr" keys.

    """
    i = orca.get_injectable(inj_name)
    return jsonify(type=str(type(i)), repr=repr(i))