Fix #12 Invalid double number serialization

and mutualize double serialization (BoundingBoxSerializer uses
DoubleSerializer)