Preserve order in meta lines with dictionary value