Adding automatic JSON conversion to SQLAlchemy ORM objects