When running ansible v1.8.2, in the below playbook, to_json fails to handle a basic variable
`
- name: a play that runs entirely on the ansible host
hosts: localhost
vars:
users: - bob
- joe
tasks:
no problem
- debug: msg=“{{users|to_yaml}}”
ERROR: an unexpected type error occurred. Error was Undefined is not JSON serializable
- debug: msg=“{{users|to_json}}”
`