fix issue with RelTableItemJsonTemplate reference to rel attributes