improve json
move function
fix json
large refactoring
remove old file
FIX: issue on path
remove tmp file