rename DumperInterface to FormatInterface and change method signature