Non-distributed chat framework using JSON