updated example and readme with new nested array faeture