added json examples for api