[743] Prevent isEmpty method leaking into the JSON for Paths.