Format exports of module contents