Added support for libyajl version 1.x

Change-Id: I26272bfcb263071ba412d8b9811247ee43a29e7f