Add note for using serialization outside of ActionController::Base

Applicable to rails-api gem.