how to efficiently make nested data structures in solid - SolidJS