Fixed issue with serialization when only one datasource or widget plugin was loaded