How to bring BI and analytics to modern nested data structures