Forgotten #pragma once

Added a forgotten #pragma once to serializer.hpp.