lib/param: Make and use lpcfg_dump_a_service() in common