Converting integer representations of booleans to strings "true" and "false" as postgresql does not automatically convert between them. Will need to test with other DB types.