Convert 'array()' notation to '[]'