Fixes #7830 - interfaces api output is class specific

- per type rabl templates
- fixed api docs for interfaces
I see, thanks