Fix the runner's JSON parser

With the introduction of the per-problem time limit, the JSON parser was
not able to cope with having an optional primitive. This change makes it
a regular Long instead of Option[Long].