Encoding arbitrary data into any entity

Does someone know of a workaround to encode any arbitrary data into any entity without using the custom name nbt?

Continue to help post