Library helping to efficiently store structured data in memory