Newtypes to handle interfaces and JSON messages