Fixes an issue with empty requirement arrays in composer
WordPress defaults to read empty objects as arrays in json_decode. these needs to be typecasted back to an object before writing composer json file requirement in order to create a valid composer.json file.
Full Changelog: 1.0.1...1.0.2