* TPBProcessor.scala: queryDetails() now returns JSON object