jsonWriter.key("Table").object();
jsonWriter.key("ItemCount").value(table.getItemCount());
jsonWriter.key("TableName").value(table.getTableName());
jsonWriter.key("TableSizeBytes").value(table.getTableSizeBytes());
jsonWriter.key("TableStatus").value(table.getTableStatus());
jsonWriter.key("CreationDateTime").value(table.getCreationDateTime());
KeySchema keySchema = table.getKeySchema();
if (keySchema != null) {
jsonWriter.key("KeySchema").object();
KeySchemaElement hashKeyElement = keySchema.getHashKeyElement();