remove unesscessary key encoding from decoder and encoder