also initialize complex fields in TableModel children that don't get stored in the database (thus not initialized by SQLAlchemy)
clean up the log_repr a little bit