SQLAlchemy ORM and pydantic data models for SQL storage and JSON serialization of COBRA components such as reactions, compounds, and compartments.