move KeyDeserializers to own package
extract common KeyDeserializer class

- move length checking to abstract class