Sort and remove unnessary properties from build file