               id))
 
 (defn handle-list-actors [state judgement-store filter-map]
-  (search-docs (:conn state)
-               (:index state)
-               mapping
-               filter-map))
+  (-> (search-docs (:conn state)
+                   (:index state)
+                   mapping
+                   filter-map)
+      (map coerce-stored-actor)))

(def ^{:private true} mapping "actor")

(def coerce-stored-actor
  (c/coercer! StoredActor
              sc/json-schema-coercion-matcher))

(defn handle-create-actor [state _ realized-actor]

      coerce-stored-actor))

(defn handle-update-actor [state id login realized-actor]
  (-> (update-doc (:conn state)
                  (:index state)
                  mapping
