Output format plugin

This is early work. I just wanted you to have a peek to the direction this is turning into.
That's my goal. But that will require to refactor `RestfulEntityBase` and move all that is not `entity` related to `RestfulBase`. I wanted to keep this PR _as small as possible_.