Fix serializing of primitive numbers, add ability to mapping primitives without reverseBlock