module imports removed from data structure, parser outputs flattened module