Rubiks lets you define an OLAP schema then generate a Mondrian XML or JSON file.