Don't encode object dot for JS map-reduce

There is no need to encode the dot for JavaScript map-reduce. It is an
internal thing and doesn't need to be exposed.