fixed AnotationsBag::getAsArray when retrieving null and unset values

fixed bug in AnnotationsBag::has when verifying if key exists