update README.md
modify how to case to object from array