String path = !pathTmp.startsWith("/") ? "/"+pathTmp: pathTmp;
String method = json.containsKey("httpMethod") ? (String)json.get("httpMethod") : "-";
long status = json.containsKey("httpStatus") ? (Long)json.get("httpStatus") : 999;
long totaltime = 0;
for (Object key : timespent.keySet()) {
Object timeObj = timespent.get(key);
Long time = 0L;
if (timeObj instanceof Double) {
time = (long) (((Double) timeObj)*1000);