Rippling Interview Question

Parse JSON and calculate sum / average