processing json

not complete yet.