deserialization of Array implemented. some bugfix.