rename message to details as this property can contain complex types