add more details in JSON
messages, most of all
fix json exits