changed mongodb annotations from hash to collection where appropriate