sending object didn't work - > sending json instead