json.extract! script, :id, :name, :stage, :lang, :content, :lock, :description, :created_at, :updated_at
json.url script_url(script, format: :json)