Added two funcs for json ld management of resources