code cleanup
fix json output
update readme
add retrieve_all to readme