[5.0] short_array_syntax in Container class

Split of #6788