removed old tests and fixed to_json on List (and added tests)