Fix package.json indentation and pass platformData as parameter to prepareProject