fix new json resolving for certain cases