Alter array syntax to support PHP 5.3