Refactor content-type to use grape's DSL.