adapte to REST conception, pre load json data