Add nObject builder for ToJson implementors