Structure fixes and adding JSON parsing example