Add realtime dependency for json

Try avoid problems in #42