Healthfirst Interview Question

Q: Refactor this code to more effectively parse a JSON sample.