added support for dynamic data paths in the FirebaseIndex constructor