Explain the use of Go's JSON encoding and decoding for data serialization?