modify jsonifier mechanism
modify realtime api signature and add database code in event handler
remove resgistered paramerter in sample api test code because that parameter is not required