output raw json for layerInfo

for my research, this is more useful
my very first Go code!!!