Output format plugin

This is early work. I just wanted you to have a peek to the direction this is turning into.
It is returning inside `data`. I think we want to use the same output format, that means that we have to use `restful_delivery`… Maybe we should have something that determines if HAL applies. I'll try to come up with something.