simple dpkg parser that returns json