new format for results in json

added new format for json