How to Create a Custom API Endpoint in Strapi

Thank you for this great tutorial. How do I change the design of the API endpoint from

[ 
{
*here are all the custom results*
}
]

to this structure:

{
"results": [ 
{
*here are all the custom results*
}
]
}

Looking forward to your answer!