Enable type specific overrides when reading \ writing

Added a media type registry, value type handler to allow services to
return plain values (strings, bools ints etc)
Configurable wait time