Add json return at operations feature, close #20