Make sure the json response array gets properly filled for models that
do not use the artifical primary key column "id".