Add "getAllMetadata" method