Returns JSON of file properties in POSTed directory