adds KeyVersion.read + tests
starts work on key metadata