Give container with nbt

I have a bunch of blocks with nbt (some trial spawners, vaults, jiqsaw blocks) So I want to create a function with give command which will give me all these blocks stored in any container Why? I don't want to setup these blocks again, that's why I want to store them with command

So, how can I generate give command from item with nbt?

Continue to help post