Settings json optimize