add binary support for serializeUtil