Adds support for null values and formats booleans as true/false.