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.

This fixes #779.

I see 6 eunit failures both on this branch and develop.