A simple JSON API which can be used on top of the TinyQueries module