initial PriorityQueue commit
moved json serialization to getJSON method