Transform an object literal using JSON Path.