Extract `fayToJsHash` & `jsToFayHash` out of *Dispatcher functions