support for encoding true/false to sqlite