Add new json encoder to monty.