Changed link to json doc and more codestyle stuff