def Typeof(obj):
    """sort of mapping JSON/python"""
    if obj.__class__.__name__ == 'dict':
        return 'object'
    elif obj.__class__.__name__ == 'str':
        return 'string'
    elif obj.__class__.__name__ == 'function':
        return 'function'
    elif obj.__class__.__name__ == 'list':
        return 'array'
    elif obj.__class__.__name__ == 'bool':
        return 'boolean'
    elif obj.__class__.__name__ == 'int' or obj.__class__.__name__ == 'float' or obj.__class__.__name__ == 'long':
        return 'number'
    return 'null'
