added json example, updated readme