Do not overwrite JSON unless content has changed.