added "is_folder" parameter to "get_metadata" calls