add serialization and proper jnp connector host/port setup