Handling payload in loading objects from database