Objects value/path helper functions for javascript objects