Change the rehydration method to map data received to the callback registered for the action