re-factored Fig-to-Flocker-YAML converter as generic converter