@VisibleForTesting
    @Nullable
    public Map<String, String> getAnnotations() {
      return annotations;
    }
Necessary for Jackson to create from JSON.
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/BuildableManifestTemplate.java