Fix bug in ActiveModelSerializer attempting to normalize polymorphic relationships even when they were not specified
Remove unnecessary variables
Merge pull request #1298 from markprzepiora/master

ActiveModelSerializer tried to normalize polymorphic relationships even when they were not specified