Fix scala.Array type resolution in ObjectSchema