fix hydrating properties that evaluate to false

This commit fixes hydrating properties that [evaluate to false](http://www.php.net/manual/en/language.types.boolean.php).

I am not sure in empty strings, but in my understanding only null values shouldn't be set explicitly. Correct my if I am wrong and I will make changes accordingly.