Now supports dumping/reading from JSON w/ tests - refs #1