Bugfix: SO/SOFA Ruby wrapper formatted some terms wrongly.
Improvement: numeric types were serialized as strings. They are serialized as numbers now.