Add attribute 'origin' to JSON