@Override
    public String getId() {
        return this.config == null || !this.config.endsWith(CONFIG_JSON_SUFFIX) ? this.config : this.config.substring(0, this.config.length() - CONFIG_JSON_SUFFIX.length());
    }
Adapter to convert from JSON representation to model.
src/main/java/io/fabric8/maven/docker/model/ImageArchiveManifestEntryAdapter.java