fixes #284 (by dganitd) - Full RPC API with structure and list support