added json message system, fixes #18