Changed xid JSON Annotation to allow reading in xid.