updated func (e *Entry) UnmarshalJSON to decode base64 encoded data field and added types_test.go