Cleaned up code, leaving only JSON proxy.

Starting with this commit I would consider the utility to be ready to be used in production, at least for *nix-based hosts with default keys locations