Adding a _refName property when converting Firebase object to a Javascript array