Remove json logic from abstract queue