Make types work in placeholder parser

This requires the parser to take an option object.
There isn't anything to do here. We just do not support converting every possible value to a Type. There might be more valid conversions in the future but this is just driven by what we use with the placeholder parser.