tools: shared: keep only one instance of the mapping action/str
tools: shared: keep only one instance of the mapping action/str

Signed-off-by: Benjamin Tissoires <7a0e50e3f6a0939db82b6a8a423c08a163896f41@gmail.com>

libratbag/libratbag,NoXPhasma/libratbag,cvuchener/libratbag,libratbag/libratbag,cvuchener/libratbag,whot/libratbag,libratbag/libratbag,NoXPhasma/libratbag,whot/libratbag,whot/libratbag,cvuchener/libratbag,NoXPhasma/libratbag