replace dict by JSON smart one
fix JSON format
update document