Fix #8832 - Parse '{"person":[null]}' JSON/XML as {'person' => []}.