Make routing tables JSON serializable