Moved json traversing and failure presentation to its own classes