add json and xml output to list