added #to_json to Result