towards RDP to JSON