added encryptable types, creates a wrapper for serializing encrypted data