if Dynamic::Pair or Struct key is not a string, an invalid JSON is emitted, eg. {0 : "val"}, instead of {"0" : "val"}