added json reader from servlet