check required and handle default values on normalized paths
handle an empty array like an object