Query service for historyBooking file and force to pickle it which will save some space

Signed-off-by: Antanas Norkus <antanas.norkus@cern.ch>