Check if keys exist before accessing
Merge branch 'master' of github.com:cbdr/ruby-cb-api