Add json-responding api calls
Add json-responding api calls

It is somewhat more native to javascript. Or could be, at least.

Signed-off-by: Michael Krelin <4dcc4173d80a2817206e196a38f0dbf7850188ff@klever.net>

hacker/fireflix,hacker/fireflix