Adds a cast option to allow to cast as a content element for array based field.