Db Model: convert row values to correct php types

This improves dirty behaviour has it normalizes eg. boolean (false vs. 0 vs. '' vs. '0')