SLING-4879 refactor model processing logic from ModelUtility#getEffectiveModel into separate class to make it reusable