Change square brackets to array for better php backwards compatibility