support optional params object when calling cypherQuery