testing json library & fixing bugs