updated read me, added jsonval function