Implemented compact expression serialization