Special case handling float types in json to protobuf.