New WriteJsonValue writes Json::Value in O(n) time.

I like putting stuff in a detail namespace.  My habit has been to associate the detail with what it is a detail of.  For example, I might name this namespace something like" joinDetail".  People are less likely to re-open the namespace that way.