Added arrays support for ObjectFactory. (restriction: Array item class
must have single String argument constructor)