Order formatted JSON elements in event cache