Added method to return an object query URI rather than ID in the return JSON