remove newline when read ktp json file for hashing purpose