added json example kind of working