change top result from map to list, add json write for User