fix: render template according to request format
Stick to gem convencions [#11]