added /json method