support custom persistence models in plugin/JPS