added json parsing

adds json parsing and demos an implementation