version API basecontroller respond_with correctly