core module: don't export setup method
lowercase json keys
go fmt