Added foamDict utility

Signed-off-by: Michael Wild <=>