Remove unused function track_to_json
Just allocate enough space for track and playlist URIs (fixes #24)