Add device_info model to AssetsResource in REST API

Add `device_info` model to `AssetResource`, add filtering for this field and `id` field.