TODO Register path of required stateVars; so that parser can ignore other stateVars Error handling for stack operations(Useful if invalid json) Use generics for the stack