 (defresource projects [{:keys [commander querier]} handlers]
   :allowed-methods #{:get :post}
   :available-media-types ["text/html" "application/json" "application/edn"]
-  :known-content-type? #{"application/edn"}
+  :known-content-type? #{"application/json"}
   :authorized? (authorized? querier :project)
 
   :handle-ok

(defresource project [{:keys [commander querier]} handlers]
  :allowed-methods #{:get}
  :available-media-types ["text/html" "application/json" "application/edn"]
  :known-content-type? #{"application/edn"}
  :authorized? (authorized? querier :project)

  :exists?


  :post!
  (fn [{{body :body} :request}]
    {:programme-id (upsert! commander :programme (-> body read-json-body ->shallow-kebab-map))})

  :handle-created
  (fn [{id :programme-id {routes :modular.bidi/routes} :request}]
