Fix store summaries time measurement. Avoid UnsafeOutput in all places. Add bytes serialized metrics.