wip - more work on deviations

* Deviation JSON builder
* Basic Deviations actor in place
wip - Added JSON builder for scopes