Write fluent attrs into an unique key

to avoid type errors in elasticsearch