Ensure that saving settings return proper JSON