got JSON dumps working