replace podspec file with json format