private Date parse(DateFormat dateFormat, String date) {
    try {
      return dateFormat.parse(date);
    } catch (ParseException e) {
      throw new IllegalArgumentException(e);
    }
  }
Tries convert json object in map form to log data

@param map        json object in map form, names as xpath separated by dots are keys.
                  <code>
                  {"a": "value1"
                  "b": {
                  "c": "value2"
                  }
                  }
                  </code>
                  will be represented by map
                  a   -> value1,
                  b.c -> value2
@param dateParser date format
@return Optional of LogData in case of success or Optional.empty in case of error
olv-core/src/main/java/pl/otros/logview/parser/json/JsonExtractor.java