polling now also supports getting a json value from a response (see readme)