poti_reader converting the binary header part to paje header standard