Make sure the mets template returns valid json.