Add converting to object from core api call before callback