ajax-like requests for json - Closes #15