Added a is_string test (notice if $value is an array)