add support/implementation for json and httpClient samples