Update formatter.php

Converts our booleans to integer values so that they are not converted
to blank values when processed.