Use ApplicationAdapter and ApplicationSerializer for massaging Spree's data