Added JSON.Net reference, some slight code change.