Store badges as json