Scala wrapper for JDOM queries