smartplaylists: fix parsing of sort direction from JSON object