code: def processing_blocks(self):
          
          pb_list = ProcessingBlockList()
          # TODO(BMo) realtime, offline etc.
          return json.dumps(dict(active=pb_list.active,
                                 completed=pb_list.completed,
                                 aborted=pb_list.aborted))
docs: Return the a JSON dict encoding the PBs known to SDP.