I have been trying to store Spring state Machine as Json. Created my own Custom Intercepter:
@Override public void write(StateMachineContext cont