fix to how the restful service works so that it can handle a single return vs a list  [KFSQA-1015]