The key of objects is always !string. To use numbers as keys use !Array.<!string> here.
The levels zero and positive integers, so that fits well.