JSON RESTful API for GORM added