we can extract this to a utility function and/or define a '[object Object]' constant if we're doing this all over the place. seems verbose.