def action_as_json(action)
      json = {}
      json[:default_title] = action.title if action.title
      json[:default_icon] = action.icon if action.icon
      json[:default_popup] = action.popup if action.popup
      json
    end
def action_as_json(action)
      json = {}
      json[:default_title] = action.title if action.title
      json[:default_icon] = action.icon if action.icon
      json[:default_popup] = action.popup if action.popup
      json
    end
Return the manifest representation of a page or browser action