Changed default output to JSON
Fixed sample