* TPBProcessor.scala: queryDetails(), encoded the values before sending