Use Json.NET attributes (fixes #135)