allow null values to pass through the JSON stringifier