sparkle: sending token as json object