Added json, debugged code.