PHP script to generate composer.json from a list of Drupal modules