rest + json objects examples