No trailing whitespace. Redefine custom exceptions.
Rename input to fromJSON.
Introduce a generic testsuite for tapes.
That's his actual name.
Support human-readable string import.
Rename length methods to size.

Because length should stay a member.
size is a method.

Okay, this is very java-like. I admit.