Add ability to deserialize JSON stored in SQLAlchemy models.

@tylertreat