cook: simplify decouple_info()