mark objects without kind as 'undefined'