Output format plugin

This is early work. I just wanted you to have a peek to the direction this is turning into.
Opened https://github.com/Gizra/restful/issues/132 and https://github.com/Gizra/restful/issues/133 for this.