You're very welcome 🙂
Unfortunatly I'm not aware of any OOTB API that would return this as a single json result. You would have to create a Scripted Rest API inside ServiceNow to achieve this.