The original pull request (/web-sharelatex-internal/pull/324) had to be reverted because of a failing test. This just re-adds the fields