Fix EZP-23687: Notice when running "$phpbin runcronjobs.php monitor"

array_diff() does not work recursively. Compare serialize() output instead, since we just want to check if the arrays are equal.

https://jira.ez.no/browse/EZP-23687