How to Configuring Multiple Data Types for API Return Values

hi bubblers.

I want to set the API’s return values as different data types for the same value. For instance, I’d like to store ‘formatted_address’ and ‘geographic_address’ with the same value as both ‘text’ and ‘geographic address’ data types.

Actual Return Values

What I Want to Achieve