added json string handling class