   (swap! state assoc
     :entities-loaded? true
     :uploadResults (utils/parse-json-string "[
-        { \"entityName\" : \"foo\", \"entityType\" : \"bar\", \"success\" : false, \"message\" : \"ohno\" },
-        { \"entityName\" : \"bar\", \"entityType\" : \"baz\", \"success\" : true, \"message\" : \"hooray\" }
+        { \"entityName\" : \"foo\", \"entityType\" : \"bar\", \"succeeded\" : false, \"message\" : \"ohno\" },
+        { \"entityName\" : \"bar\", \"entityType\" : \"baz\", \"succeeded\" : true, \"message\" : \"hooray\" }
       ]")))
 
 

    (str "/workspaces/" workspaceNamespace "/" workspaceName "/importEntitiesJSON")
    {:method :post
     :encType "multipart/form-data"
     :on-done #(swap! state assoc :entities-loaded? true :uploadResults (utils/parse-json-string (.-responseText %)))
     :data (utils/generate-form-data {:entities entityFile})}))



             :data (map (fn [entity]
                          [(entity "entityName")
                           (entity "entityType")
                           (str (entity "succeeded"))
                           (entity "message")])
                     (:uploadResults @state))})]])])})
