Return JSON.generate from rest_call for put /cart/preferences