code: public Map<String, Object> convertPropertiesToMap(Properties properties) {
          return properties.entrySet().stream()
                  .collect(toLinkedMap(
                          e -> e.getKey().toString(),
                          e -> e.getValue()));
      }
docs: Converts Properties to Map
  @param properties properties to convert.
  @return map version of properties.