documentation on GORM for REST