fix warnings about missing case (so annoying) !!
ensure data is aligned for vsnprint in serialize

before this fix I would sometimes get incorrect values in the jason
output ... basically I think vsnprint on some systems needs the source
to be aligned, but our buffer may not be ... so I just declare an
aligned variable on the stack and copy the data into that for printing
which seems to solve the problem