added custon json serializer to basic counters