Added jansson library for JSON encoding