dmarc: wrap JSON parser in a try

since it may get garbage