private void writeAssociativeArray(List<Byte> ret, Map<String, Object> val) throws EncodingException, NotImplementedException
	{
		ret.add((byte)0x01);
		for (String key : val.keySet())
		{
			writeString(ret, key);
			encode(ret, val.get(key));
		}
		ret.add((byte)0x01);
	}