Needs some help parsing JSON

Please properly format your code blocks in the post. The point 11 in the FAQ describe how to do this.