Adds checkboxesAsBools option to $.serialize() method to pass checkbox values as booleans.