add support for bytebuffer / blob constants

This patch adds support for using ByteBuffer values both as top level values and as values inside of collections. ByteBuffers are transformed into a 0x[blob hex string].