repaired invalid json for -getOpportunities