Exposed inputs and outputs properties instead of directly exposing the resource context

Signed-off-by: Martin Evans <martindevans@gmail.com>