added avro support for fetch keys and fetch entries
fixed query keys
slight modification on query keys