Add parameter functionality to getNodeByCypher and getRelByCypher.