return proper data structure in payload