fix: Fixed non-str action_data in Action

* Fixed a bug that was caused by the fact that action was only accepting
  strings.

Signed-off-by: mr.Shu <mr@shu.io>