Documenting version of jansson.
Deleting unused variables.
Print some more usefull debug messages.