Using dict instead tuples as service data