tweaks to composer.json parse