lua : better handling of numbers in storage, allow to iterate over unknown fields

note that ipairs is not supported yet.