Extracted Bert types from Bert class.
Changed empty list encoding.
Changed Dict encoding with binary keys. They are transformes to String since HashMaps don't support byte[] as key.