New changes to avoid the json parser when it fails in mono.