[json-client] Added a stub configuration file, as an example
[cleanup] Use proper name for a local variable
[cleanup] Better error reporting, replace custom code with commons-lang