JSON RESTful API for GORM