json reader and receiver