REST interface for simple SQLAlchemy objects