Backend Branches model class with Json response to client