added docs and &json=true to calls