examples for working with json