to-function2 (npm): Convert property access strings into functions
Keywords: utility