removing crap & use toJSON for the settings