Get PostgreSQL database structure as a detailed JS Object.