script: normalize format and fix encoding for arm.yaml