Utility for mapping object properties to handler functions