modifying the structure of the returning data