skips intervals where startpoint and endpoint are the same, and added revisions list to reference objects
fixed jsonreader to compile