DAOs and creating Json generatior static