always prepare tuple base when creating temp database
code gardening
emulate org.apache.commons.codec.binary.Base64 for native byte[] transit representation