rewrite APIs with Grape and RABL