A common task we deal with at Knock is mapping data from a variety of real estate systems into our own internal formats. Real-world data is often messy, and doesn't always conform exactly with what we want. We often have to make best-effort decisions as to how data maps onto our own formats.
Your challenge is to map an input real estate agent to the prescribed output format, as shown below.
// Output format (Go struct example):
type Agent struct {
FirstName string `json:"first_name"`