Moved value serializer to their own package