The easiest way to do this would be to create another field that is a formula to coerce the “Location” into a string:
{Location Lookup Field} & ""
By pulling in the looked up “location” array, and then concatenating it with an empty string, it will coerce that array into becoming a string. Then you can reference that formula field from any other fields or API’s that you need to work with strings.