[DEV] rework json to have a full complient json parser
[DEV] test done and more flexible