Adds attachment serializer.
Post serializer strategy refactoring.