added render :json to items controller