Http and JSON

You could use a javascript transform that both processes JSON and decides what to return