Change newJSON back to createJSON