code: function getComposed(uri, locals) {
    return db.get(uri)
      .then(pageData => composer.composePage(pageData, locals));
  }
docs: get composed component data
  @param  {string} uri    of root component
  @param  {object} locals
  @return {Promise}        composed data of root component and children