CB-6776 Make project/.cordova/config.json integrate with platforms.js

Fixed platform add step failure due to [CB-6776](https://issues.apache.org/jira/browse/CB-6776)