Step: Object Construction. Rename fields.

Object Construction. Rename fields.

To use different field names, explicitly specify names and use selector syntax for values. e.g {carMake: .make, carModel: .model}

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