Customisable format for rdb ouput

Remove history pack better to merge multiple outputs