[PDI-10339]: Cherry-picked commits from WebDetails' fork (including toJulian fix)