When you parse a YAML you get a Hash. So to get into an inner element, all you need to do is:
p yml_content['en']['menu']['profile']
# => "My Profile"
Also, since it is a hash, all you need to do to add to it, is simply assign a new key-value to it:
yml_content['en']['menu']['my_abc'] = "ABC"