Provide type for objects in json query responses