load json data into model via ajax.