Don't defer to context for respond_to? until context is set.
Merge pull request #13 from collectiveidea/fix-yaml-deserialization

Don't defer to context for respond_to? until context is set.