i have my custom api which will return multi dimension array , which will have key pair value,  where key and value are dynamic from database in that case how to achieve in rest api of magento2