Converting boolean value into integer 0/1 before saving entity

Opened for Discussion!

What should be the right behaviour?

Example:
Arguments in dibi->query() now:
property = false : property = ""
property = true : property = "1"

Arguments in dibi->query() in pull request:
property = false : property = 0
property = true : property = 1