Encoding json

Signed-off-by: JulienA <ju.aubert87@gmail.com>