I'd avoid `Lang.type` where `isArray` will suffice. You can assign `lookup = col.lookupTable || {}` and then fork for array input format. Any non-array will be treated as an object map, which would have the same outcome for unknown property names.

See https://gist.github.com/lsmith/5507579