JSON ouput for HW3