Fidelity Investments interview question

Second interview coding exercise around java and json