Fix foodcritic findings

* FC007: Ensure recipe dependencies are reflected in cookbook metadata
* FC019: Access node attributes in a consistent manner
* FC043: Prefer new notification syntax
* FC044: Avoid bare attribute keys