Whitelist legal job parameter types

Adds type whitelist as discussed in #14.