Iterator i = serializerDefinitions.iterator();
SerializerRegistry registry = SerializerRegistry.getInstance();
while (i.hasNext()) {
SerializerDefinition next = (SerializerDefinition) i.next();
Serializer ser = next.create();
Class type = ser.getSerializableType();
Class arrayType = ReflectUtils.getArrayClassFromClass(type);
Serializer arraySer = new ArraySerializer(arrayType, ser);