Fidelity Investments interview question

How to map service response to objects?