// With coercion
var result = parser.toJson(data, {reversible: true, coerce: true, object: true});
expect(result.itemRecord.value[0].longValue['$t']).to.equal(12345);
expect(result.itemRecord.value[1].stringValue.number).to.equal(false);
expect(result.itemRecord.value[2].moneyValue.number).to.equal(true);
expect(result.itemRecord.value[2].moneyValue['$t']).to.equal(104.95);
expect(result.itemRecord.value[2].moneyValue.text).to.equal(123.45);
expect(result.itemRecord.value[8].text['$t']).to.equal(42.42);