Added JSON examples to API docs