fix marshaling; add go license and README