Fucked around and figured out json parsing.