I am having trouble trying parse some json data. The problem is it is sometimes in a different format. I\'ve worked out the best way is to iterate through the data taking a jso