Casting Array properties using any type of Hash