Architect Data Action: Mapping nested JSON response to variables

Trying to map a nested JSON response from an external REST call in an Architect Data Action. The API returns { "data": { "id": 123 } } but using $.data.id in the output mapping keeps returning null. The raw response logs look fine, so the call is working. Is there a specific syntax for drilling down into objects here or am I missing something obvious?