Step: Object Construction. Value as field name

Object Construction. Value as field name

To use values as field names, you need to wrap it with parenthesis like {(.make): .model}.

Input:
{
  "firstName": "Charles",
  "lastName": "Doe",
  "location": {
    "city": "San Francisco",
    "postal-code": "94103"
  }
}
Expected:
{
  "Charles": "San Francisco"
}