Added note that objects will not be side-loaded if root is set to false
Reduce complexity and duplication; make accessor definition more explicit
Merge pull request #419 from whatsthebeef/master

Added note that objects will not be side-loaded if root is set to false
Merge pull request #422 from marclove/reduce-serializer-code-complexity

Reduce duplication; make accessor definition more explicit
Small refactoring
Revert "Merge pull request #422 from marclove/reduce-serializer-code-complexity"

This reverts commit 449849516bf640986445d5318cd8c1f62ed88dab, reversing
changes made to e103569c223963feef0f6618011e68dfac112db7.

Conflicts:
	lib/active_model/serializer.rb
Remove old unneeded code
Update README to reflect override of json key in associations
Merge pull request #424 from cball/update-association-key-in-readme

Update README to reflect override of json key in associations
Fix root initializer documentation

Removed the on load stuff since there is no autoloading in AMS anymore.
Merge pull request #426 from mhenrixon/patch-1

Fix root initializer documentation
Support passing a custom ArraySerializer for has_many associations

Thanks @phoet

Closes #316
Split root construction and serialization logic