Converted results to json