Don't choke on one-character keys and values in metadata file.
Parameterize version numbers. Add a function to parse version numbers.