add list method, currently just dumps json