Adrien/json dialog builder