Add boolean support.
Merge branch 'jansson'