Plugin.query should return more information

Signed-off-by: David Scott <dave.scott@citrix.com>