added cypher serialization for conditions