removing type value check and replacing with .has_key('type') instead
Merge pull request #2 from gholadr/firebase

removing type value check and replacing with .has_key('type') instead