ovsdb-client: Refactor table code to save original json during formatting.