Fixed metadata encoding for strings