Can consider adding a case for floating point serialization