Use string for attributes hash to be more AR compatible