remove null value from json in contentsservlet