value string or int? or doesn't it matter with json parsed into rails