Ensure userData is an associative array - at least one key must be a string