Added objectTo functionality for generating sql SET statements