needed to change one more thing to send objects with GET and DELETE