update for json syntax in examples