fix(cloudfunc) buildFromJSON: lHeader -> header