Remove JSON dependency from the Command, as it's only used in the toString method.
Extract the core API for implementing a remote webdriver command executor into a separate library.