How can I create an array of all "name_printed" keys in the following hash with nil safe navigation?
{
"show_data_on_file": "Yes",
"employees_names_printed_on_badges": [
{
"name_printed": "John",
"badge_id": 12160060
},
{
"name_printed": "Tom",
"badge_id": 12160080
}
]
}