Journal updated to diff json, ids added to relation tables