FirebaseAdapter structure trasnformation