Removes unused imports in serializer, removes generic unit as it not
needed as though during planning process, removes getUnit from
simplestatenode now that is not being used. Checks to make test
serializer pass