converting history entry to sfsobject