jsonrpc: fix Files.GetDirectory not returning artistid, albumartistid and genreid for smartplaylists

This fixes JSON-RPC's Files.GetDirectory not returning `artistid`, `albumartistid` or `genreid` when the retrieved directory is a smartplaylist. This already works fine for normal paths just not for smartplaylists.