Optimization for json::object.

Use declare ctor parameters as rvalue reference, to avoid excessive
copying.