The JSON API allows one to do this, and there's a proof-of-concept/demo here:


that requires rendering on the client side (or whoever fetches the data, since that might itself be a pipe of some sort).