factored parseEmbeddedJSON and protect against tel linking