Fix spy to return a default platform JSON instead of an empty object

Fixes broken tests because of the refactoring in plugman regarding CB-6344