Changes to bridge return messages, now using sqlalchemy objects