Add json deserialization to to_dict.
Handle case where object attribute is None.
Merge pull request #2 from stevenosborne-wf/json_serialize

Add ability to deserialize JSON stored in SQLAlchemy models.