fixed issue where multiple $ref to the same resource would not resolve