Worked on it to configure as object for firebase...still not fixed (but is functional)