Adds universal IonObject serialization for this test

The test is extended to test a specific case but the other tests' client
calls aren't through the encoding layer so IonObjects remain IonObjects
outgoing, this patch attaches a serialization layer to the client calls.