Fixed false boolean values not being encoded.