example for creating a table from component status api, provide by Tony