make sure we encode the key in our specs