Ruby 1.8.7 fix

Issue with type not coming off the active model serlizers object.