handle empty strings in Reflector.ToDictionary