#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json


print json.dumps({
    "_meta": {
        "hostvars": {
            "foobar": {
                "some_variable": None
            }
        }
    },
    "all": {
        "hosts": ["foobar"]
    }
})
add example of null-valued variable