set json field names for devices