New parsing routine now works with the json format provided.