enforce keys only being UTF-8 Strings or Integers