encode PCM to JSON