has a .where method that returns a filtered array of objects

Signed-off-by: Bebe Peng <bebepeng@gmail.com>