Add populate document references in content at api and for rendering