Switch to dart:convert for JSON

JSON package is not available on the server.

Should be 1.0 compatible now