Hack for binary data

Signed-off-by: Nimish Gupta <nimish@couchbase.com>