making python lists json