Use jackson to parse and test json paths instead of hard coded strings

`assertFalse(jsonNode.findValue("metric").elements().hasNext())`?