Added REST support on runtime entities for tenantId