Fix a bug for "forEach" statuses

Use a JSON formation instead of seperated forEach statuses.