Query methods now fetch an object instead of array