Make MongoDB monitoring PHP script PHP 5.3 compatible with old array notation