JSON connector

There are no comments right now and i did that on my spare time so there might be a few not optimized code.
But it's a good start for the json connector.