Added method to assign default values

Added method to assign default values from an object of key values to an
array of objects. This will allow us to find on elements whose values
are not provided in the JSON.