(PE-4372) Refactored extensions reading utils and added parsing
functionality