Arbitrary retrieval of attributes from composer.json.

Also fixes versions for Windows support.