Refactored JSON deserialization for ClearCache
Added possibility to correlate commands and events