Evented construction of JSON objects.