very annoying JSON bugs fixed