title: Storing SpiffWorkflow states in Django
body: <p>I'd like to use SpiffWorkflow in conjunction with Django, but apparently SpiffWorkflow can only serialize its states to JSON and XML:</p>
  
  <p><a href="https://github.com/knipknap/SpiffWorkflow/tree/master/SpiffWorkflow/storage" rel="nofollow">https://github.com/knipknap/SpiffWorkflow/tree/master/SpiffWorkflow/storage</a></p>
  
  <p>SpiffWorkflow allows serialization of running workflow, so I could store it essentially as a byte stream somewhere (either in filesystem or in Django's DB). But that deprives me of all the advantages of Django.</p>
  
  <p>Is there some way of mapping dictionary or deserialized JSON structure onto objects that Django can use as a regular Django object (stored by Django ORM in a database)? Would writing such a Django backend for SpiffWorkflow/its workflow's JSON representation be complicated? I'm asking because I have basically no experience in Django.</p>