Add note for serialization usage outside of ActionController::Base

Applicable to rails-api gem.