started working in jsmn to handle parsing