added json2 as dependency