OOP reader of composer.lock file