Throwing exception for non-array array properties