gp-78: Keep keys order when updating JSON configs (fix for adding new keys).