fixed pgherveou/modelfactory/issues/6
add mixed types and support Array constructor as type