Encode boolean values
Merge pull request #4 from zf-fr/encode-boolean

Encode boolean values