* @param what a label for what is being deserialized, used in the error message
*/
public static JsonNode deserializeSoft(byte[] data, String what) {
try {
JsonParser jp = JSON_FACTORY.createJsonParser(data);
return jp.readValueAsTree();
} catch (IOException e) {
throw new RuntimeException("Error deserializing " + what + " from JSON.", e);
}
}