LD-63 Add generator for function transfer data from bson params to structure