ID's must be cast to strings before becoming JSON.