Adds entity state detail and metadata section