Fix THRIFT-2884 - Map does not serialize correctly for JSON protocol in Go library

Fix THRIFT-2884