code: function formDataForRenderer(unresolvedData, { _layoutRef, _ref }, locals) {
    return composer.resolveComponentReferences(unresolvedData, locals)
      .then((data) => ({
        data,
        options: { locals, _ref, _layoutRef }
      }));
  }
docs: Resolve all references for nested objects and form the
  data up in the expected object to send to a renderer
  @param  {Object} unresolvedData
  @param  {Object} options
  @param  {Object} locals
  @return {Promise}