add mapping with j.map, events with j.cue and namespace with j.namespace