remap temperature in an API compatible object