Attempt to port json related stuff to gson

because json simple was being stupid >.>