Simple framework for converting objects