Got it to pass the test and began on translation to JSON.