Fix `tarifa platform add` when all platforms have been removed.

If all platforms have been removed, the "configurations" key is removed from the tarifa.json. This is because to "toOneLevelObject" call.