Fixing small issue in serviceScopes serialization.