Output format plugin

This is early work. I just wanted you to have a peek to the direction this is turning into.
But I see it also exists [here](https://github.com/Gizra/restful/pull/129/files#diff-4541236b53ea9c32a255545b56e3ba2cR14).