NBT API for Computer Craft, should work with any lua application though