Changed the JSON returned by 'processResultOnly' method to a simpler data structure