NBT Book

The NBT books allows the player to edit an entity's NBT data.

Use
Right-clicking an entity with the NBT book will show the player the entirety of that entity's NBT data. The player can edit the data, and then save it.