[repository] moved PersistanceHelper
[mappers] refactored converting entity to array