fixed up some bugs with json serialization of breaches and such