create context from json config file
simple utility