Add note for using serialization outside of ActionController::Base

applicable to rails-api gem.