Ensure map keys are bencoded as strings.

Also, add `:deprecated` to var metadata whitelist.