diff --git a/code/models/DocumentationEntity.php b/code/models/DocumentationEntity.php
index <HASH>..<HASH> 100755
--- a/code/models/DocumentationEntity.php
+++ b/code/models/DocumentationEntity.php
@@ -260,4 +260,17 @@ class DocumentationEntity extends ViewableData {
 	public function compare(DocumentationEntity $other) {
 		return version_compare($this->getVersion(), $other->getVersion());
 	}
+
+	/**
+	 * @return array
+	 */
+	public function toMap() {
+		return array(
+			'Key' => $this->key,
+			'Path' => $this->getPath(),
+			'Version' => $this->getVersion(),
+			'IsStable' => $this->getIsStable(),
+			'Language' => $this->getLanguage()
+		);
+	}
 }
\ No newline at end of file
Add DocumentationEntity::toMap() for assert compability