add #isJSON w/ tests