HTTP listener that returns JSON