deposit: wrapping DynamicFieldList into a class
Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch> Co-authored-by: Yoan Blanc <yoan.blanc@cern.ch>