fix composer.json type field