added tests for params_adapter, refactor serializer.rb attributes associations and emmbedded_in_root_associations can filter using params_adapter.