simplify by removing RefResolvingJsonNode