Ref 2263134b: Better identify potential JSON. Close gh-1401.