Added Json library.

Incoming reading from json instead of autodetection