Refactor to work with schema compliant composer.json