docs: function exportToJDL(jdl, path) {
    if (!jdl) {
      throw new Error('A JDLObject has to be passed to be exported.');
    }
    if (!path) {
      path = './jhipster-jdl.jh';
    }
    fs.writeFileSync(path, jdl.toString());
  }