Fixed firebase ref when strings passed to node module.