Simplified rtdb_get calls

Consolidated rtdb_get calls into a single function to avoid the tedious if/then loops necessary for getting the info and then the values.