The JSON key is violating the rules of creation
Choose meaningful property names. Property names must conform to the
following guidelines:
Property names should be meaningful names with defined semantics.
Property names must be camel-cased, ascii strings. The first character
must be a letter, an underscore (_) or a dollar sign ($). Subsequent
characters can be a letter, a digit, an underscore, or a dollar sign.
Reserved JavaScript keywords should be avoided (A list of reserved
JavaScript keywords can be found below).
JSON Rules
Now to solve what you have now you can do the following:
res["data"]["0-MenuComponent"]
Always use indexes, as the rule says, a digit is not supported with the semantics you are trying to implement.