go fmt, new tests, json doc suport