Theory of Computation homework 4 -- json data parsing practice