Minor json stuff
Add hacky Wait method to prioritizedworkqueue