Cross platforming, changed to boost json parser, fixing code for mac. Seems kernels are no good