Encoding of playlists to JSON implemented. Further work on playlist routes done.