serialize from memory for transient model instannces
Merge pull request #6 from benmathes/serialize_transients

Serialize transients