Added default value for markup renderer
Added encoding API for string service