Revert "Data model changes"

Reverts ContinuumIO/memex-explorer#51