Issue #1892320 by damiankloip, linclark: Add deserialize for JSON/AJAX.