changed idAttribute to pk and removed format=json