restore stream improvements
This MR improves the restore-streams.lua
in the following way:
- Uses the new Json Lua API to parse the route properties from the route-settings metadata object, and removes the unneeded
route-settings-api module
. - Moves the streams configuration in its own Lua file (from
40-device-defaults
to40-stream-defaults.lua
). - Makes restoring the stream properties and target optional.