add pretty yaml + fix prefences JSON