add json and text response helpers
return plain text response on dispatch-by-path