Fetching MP ID from JSON object in cookie