Pass node name to all keys if requested.
Run custom fun() data when flushing.