Update preferences related documentation

there should be no `,` it would make it invalid json and won't work as mock