ISPN-3218 Support non-byte array replication in compatibility mode

* When replicating, the byte arrays might have been converted into
POJOs, so those need to be handled when boxing data by the type
converter.