enable serializing result with float type