KeyValue Type: Fix attempting to treat an array as a string