For compatibility with other serializers, serializing a float should result in a decimal output.
For compatibility with other serializers, serializing a float should result in a decimal output.