add comment and missing header
add Json helper class