Uses Booleans and Nulls for their respective values

Adds support for JSON output of both booleans and null values.