render json object without .erb file