[core] Add some docs for hashes and arrays