Added the options to Serializer#serialize and #attribute_for to check for :localized