Javascript module for convenient json filtering or programatic querying