#!/usr/bin/env python
import json

print json.dumps({
    "_meta": {
        "hostvars": {
            'afoo': {}
        },
    },
    "foo": {
        "hosts": ['afoo']
    }
})
#!/usr/bin/env python
import json

print(json.dumps({
    "_meta": {
        "hostvars": {
            'afoo': {}
        },
    },
    "foo": {
        "hosts": ['afoo']
    }
}))

Fix print statement to be py3 compatible
Fix print statement to be py3 compatible
