validate composer.json file