add sampleFormat to metadata