_format function is not a good idea because dictionary merging becomes complex