Transform an object literal using JSONPath.