using initialize to clean up the attributes for individual resource calls
changing data attribute to new name (response -> data)