def dump(obj, path, *args, **kwargs):
    """
    from baiji.pod.util import json
    foo = json.dump('foo.json')
    """
    import simplejson as json
    with open(path, 'w') as f:
        json.dump(obj, f, *args, **kwargs)
