playing with generating json