Add checking for serializing a python decimal
Fixed files not being serialized