Improved the get object values method, where it was merging array values with the final array