Add json endpoint to render onward journey cards and trails

/cc @rich-nguyen