Update jsoncmd.go

Removing duplicate function