some small bugfixes after namechange of json attribute.