Ensure true and false are represented as json true and false.