Fixes #201
Added parallel serializer test and refactored EdgeSerializer