make the on(nil) rule common to all translators
add string parse to the json sample
add object parsing to json sample