fix some json errors and re-template the ntp.conf