json: implement injection relations