@Provides @Jpa Map<?, ?> provideProperties() {
    return properties;
  }
Copy of guice persist module for local modifications
ambari-server/src/main/java/com/google/inject/persist/jpa/AmbariJpaPersistModule.java