Serialize ActiveRecord attributes with JSON