Use JsonRefs for resolving $ref