renamed Api#json
new api